import java.awt.BorderLayout;
import java.awt.Component;

import javax.swing.JFrame;

/**
 * Title:  TestTextcoding.java
 * Description:  This class is only used in testing.
 * Copyright:    Copyright (c) 2009
 * @author ZHANG Qiwei and WANG Feng
 * @version 1.0
 */

public class TestTextcoding {
	public static void main(String args[]) {
		JFrame myFrame = new JFrame();
		myFrame.setLayout(new BorderLayout(5,10));
		CodingPane my=new CodingPane();
		myFrame.getContentPane().add(my,BorderLayout.CENTER);
		myFrame.getContentPane().add(TextEditor.move,BorderLayout.SOUTH);
		myFrame.getContentPane().add(TextEditor.moveto,BorderLayout.NORTH);
		myFrame.getContentPane().add(TextEditor.moveNum,BorderLayout.EAST);
		myFrame.setVisible(true);
		myFrame.setSize(500, 500);
		
		

	}
}
